import Cookies from 'js-cookie'

const TokenKey = 'hr76-user-token'

// 存储数据
export function getToken() {
  return Cookies.get(TokenKey)
}

// 获取数据
export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

// 删除数据
export function removeToken() {
  return Cookies.remove(TokenKey)
}
